/* 
    Document   : finalstyle
    Created on : Aug 6, 2013, 10:48:14 AM
    Author     : 1105316B
    Description:
        Purpose of the stylesheet follows.
*/

html {
    position: relative;
    min-height: 100%;
}

body {
    /*todo test*/
    margin: 0;
    padding: 0 0 45px 0;
    /*todo test*/
    background: #FFFFFF url("images/bg.png") repeat;
    font-family: 'Open Sans', sans-serif;
    /*todo test*/
    font-size: 14px;
    color: #5B5B5B;
}

div, li, ul {
    margin: 0;
    padding: 0;
}

.banner {
    min-width: 1250px;
    height: 100px;
    background-image: url("images/header1.png");
    margin-bottom: 10px;
}

.clear {
    clear: both;
}

#main {
    width: 1250px;
    margin: 0 auto;
}

.left-wrapper {
    float: left;
    width: 250px;
    height: 400px;
}

.logo {
    height: 80px;
    margin: 0 0 10px;
}

.menu-wrapper {
    height: auto;
}

#content {
    float: right;
    border:  1px #777 solid;
    width: 995px;
    height: auto;	
    background-color: #FFFFFF;
}

.content2 {
    float: inside;
    width: 990px;
    height: auto;
    margin: auto;
}

#footer {
    min-width: 1230px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    margin-top: 15px;
    padding: 10px 10px 5px;
    height: 15px;
    line-height: 15px;
    background-image: url('images/header.png');
    color: white;
}

#cssmenu > ul {
    float: left;
    list-style: none;
    margin: 0 auto 0 30px;
    padding: 0 auto;
    /*padding: 10px;*/
    vertical-align: baseline;
    line-height: 1;
}
/*****
Button
******/
.button_example {
    border: 1px solid #b7b7b7;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 12px;
    font-family: arial, helvetica, sans-serif;
    padding: 10px 10px 10px 10px;
    text-decoration: none;
    display: inline-block;
    text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
    font-weight: bold;
    color: #FFFFFF;
    background-color: #d3d3d3;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#d3d3d3), to(#707070));
    background-image: -webkit-linear-gradient(top, #d3d3d3, #707070);
    background-image: -moz-linear-gradient(top, #d3d3d3, #707070);
    background-image: -ms-linear-gradient(top, #d3d3d3, #707070);
    background-image: -o-linear-gradient(top, #d3d3d3, #707070);
    background-image: linear-gradient(to bottom, #d3d3d3, #707070);
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#d3d3d3, endColorstr=#707070);
}

    .button_example:hover {
        border: 1px solid #a0a0a0;
        background-color: #bababa;
        background-image: -webkit-gradient(linear, left top, left bottom, from(#bababa), to(#575757));
        background-image: -webkit-linear-gradient(top, #bababa, #575757);
        background-image: -moz-linear-gradient(top, #bababa, #575757);
        background-image: -ms-linear-gradient(top, #bababa, #575757);
        background-image: -o-linear-gradient(top, #bababa, #575757);
        background-image: linear-gradient(to bottom, #bababa, #575757);
        filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#bababa, endColorstr=#575757);
    }

.button {
    font-family: Georgia;
    color: #ffffff;
    font-size: auto;
    padding: 2px;
    text-decoration: none;
    -webkit-border-radius: 28px;
    -moz-border-radius: 28px;
    border-radius: 28px;
    -webkit-box-shadow: 0px 0px 3px #666666;
    -moz-box-shadow: 0px 0px 3px #666666;
    box-shadow: 0px 0px 3px #666666;
    text-shadow: 0px 0px 1px #663b66;
    border: solid #c42f2f 1px;
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#d12c2c), to(#a80f0f));
    background: -moz-linear-gradient(top, #d12c2c, #a80f0f);
}

    .button:hover {
        background: -webkit-gradient(linear, 0 0, 0 100%, from(#cc2222), to(#c42020));
        background: -moz-linear-gradient(top, #cc2222, #c42020);
    }
/******
CSSMENU
******/
/* The container */
#cssmenu > ul {
    float: left;
    display: block;
    position: relative;
    width: 190px;
}

    /* The list elements which contain the links */
    #cssmenu > ul li {
        display: block;
        position: relative;
        margin: 0;
        padding: 0;
        width: 240px;
    }

        /* General link styling */
        #cssmenu > ul li a {
            /* Layout */
            display: block;
            position: relative;
            margin: 0;
            border-top: 1px dotted #3a3a3a;
            border-bottom: 1px dotted #1b1b1b;
            padding: 11px 20px;
            width: 150px;
            /* Typography */
            font-family: Helvetica, Arial, sans-serif;
            color: #d8d8d8;
            text-decoration: none;
            text-transform: uppercase;
            text-shadow: 0 1px 1px #000;
            font-size: 13px;
            font-weight: 300;
            /* Background & effects */
            background: #282828;
        }

        /* Rounded corners for the first link of the menu/submenus */
        #cssmenu > ul li:first-child > a {
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
            margin-bottom: -1px; /*fixed ie9>=*/
        }

        /* Rounded corners for the last link of the menu/submenus */
        #cssmenu > ul li:last-child > a {
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
            border-bottom: 0;
        }


        /* The hover state of the menu/submenu links */
        #cssmenu > ul li > a:hover, #cssmenu > ul li:hover > a {
            color: #fff;
            text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
            background: #f23f37;
            background: -webkit-linear-gradient(bottom, #990000, #CC0000);
            background: -ms-linear-gradient(bottom, #990000, #CC0000);
            background: -moz-linear-gradient(bottom, #990000, #CC0000);
            background: -o-linear-gradient(bottom, #990000, #CC0000);
            border-color: transparent;
        }

    /* The arrow indicating a submenu */
    #cssmenu > ul .has-sub > a::after {
        content: '';
        position: absolute;
        top: 16px;
        right: 10px;
        width: 0px;
        height: 0px;
        /* Creating the arrow using borders */
        border: 4px solid transparent;
        border-left: 4px solid #d8d8d8;
    }

    /* The same arrow, but with a darker color, to create the shadow effect */
    #cssmenu > ul .has-sub > a::before {
        content: '';
        position: absolute;
        top: 17px;
        right: 10px;
        width: 0px;
        height: 0px;
        /* Creating the arrow using borders */
        border: 4px solid transparent;
        border-left: 4px solid #000;
    }

    /* Changing the color of the arrow on hover */
    #cssmenu > ul li > a:hover::after, #cssmenu > ul li:hover > a::after {
        border-left: 4px solid #fff;
    }

    #cssmenu > ul li > a:hover::before, #cssmenu > ul li:hover > a::before {
        border-left: 4px solid rgba(0, 0, 0, .3);
    }


    /* THE SUBMENUS */
    #cssmenu > ul ul {
        position: absolute;
        left: 190px;
        top: -9999px;
        padding-left: 5px;
        opacity: 0;
        z-index: 2;
        /* The fade effect, created using an opacity transition */
        -webkit-transition: opacity .3s ease-in;
        -moz-transition: opacity .3s ease-in;
        -o-transition: opacity .3s ease-in;
        -ms-transition: opacity .3s ease-in;
    }

    /* Showing the submenu when the user is hovering the parent link */
    #cssmenu > ul li:hover > ul {
        top: 0px;
        opacity: 1;
    }
/****table**/

.table {
    margin: 0px;
    padding: 0px;
    -moz-border-radius-bottomleft: 9px;
    -webkit-border-bottom-left-radius: 9px;
    border-bottom-left-radius: 9px;
    -moz-border-radius-bottomright: 9px;
    -webkit-border-bottom-right-radius: 9px;
    border-bottom-right-radius: 9px;
    -moz-border-radius-topright: 9px;
    -webkit-border-top-right-radius: 9px;
    border-top-right-radius: 9px;
    -moz-border-radius-topleft: 9px;
    -webkit-border-top-left-radius: 9px;
    border-top-left-radius: 9px;
}

    .table table {
        margin: 0px;
        padding: 0px;
    }

    .table tr:last-child td:last-child {
        -moz-border-radius-bottomright: 9px;
        -webkit-border-bottom-right-radius: 9px;
        border-bottom-right-radius: 9px;
    }

    .table table tr:first-child td:first-child {
        -moz-border-radius-topleft: 9px;
        -webkit-border-top-left-radius: 9px;
        border-top-left-radius: 9px;
    }

    .table table tr:first-child td:last-child {
        -moz-border-radius-topright: 9px;
        -webkit-border-top-right-radius: 9px;
        border-top-right-radius: 9px;
    }

    .table tr:last-child td:first-child {
        -moz-border-radius-bottomleft: 9px;
        -webkit-border-bottom-left-radius: 9px;
        border-bottom-left-radius: 9px;
    }

    .table tr:hover td {
        background-color: #d8c5c5;
    }

    .table td {
        vertical-align: middle;
        background-color: #ffffff;
        border: 1px solid #000000;
        border-width: 0px 1px 1px 0px;
        text-align: left;
        padding: 7px;
        font-size: 12px;
        font-family: Arial;
        font-weight: normal;
        color: #000000;
    }

    .table tr:last-child td {
        border-width: 0px 1px 0px 0px;
    }

    .table tr td:last-child {
        border-width: 0px 0px 1px 0px;
    }

    .table tr:last-child td:last-child {
        border-width: 0px 0px 0px 0px;
    }

    .table tr:first-child td {
        background: -o-linear-gradient(bottom, #ed1010 5%, #d81111 100%);
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ed1010), color-stop(1, #d81111) );
        background: -moz-linear-gradient( center top, #ed1010 5%, #d81111 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ed1010", endColorstr="#d81111");
        background: -o-linear-gradient(top,#ed1010,d81111);
        background-color: #ed1010;
        border: 0px solid #000000;
        text-align: center;
        border-width: 0px 0px 1px 1px;
        font-size: 14px;
        font-family: Arial;
        font-weight: bold;
        color: #ffffff;
    }

    .table tr:first-child:hover td {
        background: -o-linear-gradient(bottom, #ed1010 5%, #d81111 100%);
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ed1010), color-stop(1, #d81111) );
        background: -moz-linear-gradient( center top, #ed1010 5%, #d81111 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ed1010", endColorstr="#d81111");
        background: -o-linear-gradient(top,#ed1010,d81111);
        background-color: #ed1010;
    }

    .table tr:first-child td:first-child {
        border-width: 0px 0px 1px 0px;
    }

    .table tr:first-child td:last-child {
        border-width: 0px 0px 1px 1px;
    }
/*** TABLE REPORT***/ .tablereport {
    margin: 0px;
    padding: 0px;
    width: 96%;
    border: 1px solid #000000;
}

    .tablereport table {
        margin: 0px;
        padding: 0px;
    }

    .tablereport tr:last-child td:last-child {
    }

    .tablereport table tr:first-child td:first-child {
    }

    .tablereport table tr:first-child td:last-child {
    }

    .tablereport tr:last-child td:first-child {
    }

    .tablereport tr:hover td {
        background-color: #e2d9d9;
    }

    .tablereport td {
        vertical-align: middle;
        background-color: #f9f7f7;
        border: 1px solid #000000;
        border-width: 0px 1px 1px 0px;
        text-align: left;
        padding: 7px;
        font-size: 12px;
        font-family: Arial;
        font-weight: normal;
        color: #000000;
    }

    .tablereport tr:last-child td {
        border-width: 0px 1px 0px 0px;
    }

    .tablereport tr td:last-child {
        border-width: 0px 0px 1px 0px;
    }

    .tablereport tr:last-child td:last-child {
        border-width: 0px 0px 0px 0px;
    }

    .tablereport tr:first-child td {
        background: -o-linear-gradient(bottom, #cccccc 5%, #b2b2b2 100%);
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #cccccc), color-stop(1, #b2b2b2) );
        background: -moz-linear-gradient( center top, #cccccc 5%, #b2b2b2 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cccccc", endColorstr="#b2b2b2");
        background: -o-linear-gradient(top,#cccccc,b2b2b2);
        background-color: #cccccc;
        border: 0px solid #000000;
        text-align: center;
        border-width: 0px 0px 1px 1px;
        font-size: 14px;
        font-family: Arial;
        font-weight: bold;
        color: #000000;
    }

    .tablereport tr:first-child:hover td {
        background: -o-linear-gradient(bottom, #cccccc 5%, #b2b2b2 100%);
        background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #cccccc), color-stop(1, #b2b2b2) );
        background: -moz-linear-gradient( center top, #cccccc 5%, #b2b2b2 100% );
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cccccc", endColorstr="#b2b2b2");
        background: -o-linear-gradient(top,#cccccc,b2b2b2);
        background-color: #cccccc;
    }

    .tablereport tr:first-child td:first-child {
        border-width: 0px 0px 1px 0px;
    }

    .tablereport tr:first-child td:last-child {
        border-width: 0px 0px 1px 1px;
    }

.tb10 {
    background-image: url(images/form_bg.png);
    background-repeat: repeat-x;
    border: 1px solid #965b5b;
    width: 153px;
    color: #333333;
    padding: 3px;
    margin-right: 4px;
    margin-bottom: 8px;
    font-family: tahoma, arial, sans-serif;
}

h2, h3 {
    margin: auto;
    padding: auto;
    font-weight: normal;
    font-weight: 700;
    color: #9B0808;
}

h1 {
    margin: auto;
    padding: auto;
    font-weight: normal;
    font-weight: 700;
    text-transform: uppercase;
    color: #830707;
    font-size: 2em;
}

h2 {
    font-size: 2.8em;
}

h3 {
    font-size: 1.6em;
}

p, ol, ul {
    margin-top: 0px;
}

p {
    line-height: 180%;
}

a {
    color: #222222;
}

    a:hover {
        text-decoration: none;
    }

    a img {
        border: none;
    }

.title {
    border-bottom: solid 1px #dbdbdb;
    margin: 0 0 3em 0;
    text-align: center;
    text-transform: uppercase;
}

    .title:after {
        content: '';
        display: block;
        border-top: solid 1px #dbdbdb;
        height: 8px;
    }

    .title h2 {
        margin: 0 0 1em 0;
        font-weight: 700;
    }

    .title .byline {
        position: relative;
        top: -2em;
        font-weight: 700;
        font-size: 1.1em;
        color: #8E8E8E;
    }

.class {
    width: 200px; /* All browsers */
    *width: 250px; /* IE */
    _width: 300px; /* IE6 */
    .width:200px; /* IE7 */
}
/***
        FOOTER
**/


/*Fixed*/
/*.logo {
    background-image: url("images/eldercare.gif");
    background-size: 220px;
    background-position: center;
    background-repeat: no-repeat;
    height: 80px;
    margin: 0 0 10px;
}*/

/*.content {
float: right;
border: 1px #777 solid;
width: 995px;
height: 800px;
background-color: #FFFFFF;
}*/

#main {
    overflow: hidden;
}

.logo {
    height: auto;
}

#logout {
    text-align: right;
    height: 40px;
    line-height: 40px;
    font-weight: bold;
}

    #logout input {
        margin: 0 0 5px 5px;
        cursor: pointer;
    }

.content {
    width: 960px;
    padding: 15px;
    border: 0;
}

.btn-danger {
    color: #fff;
    background-color: #A70A0A;
    border-color: #c42f2f;
    border-radius: 28px;
}

.btn {
    display: inline-block;
    padding: 2px 4px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571429;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
    color: #fff;
    background-color: #B70A0A;
    border-color: #ac2925;
}


/*End of Fixed*/
.messager-body{
    height:100px!important;
}
.easyui-dialog{
    height:285px!important;
}
.panel-window{
    height:250px!important;
}